import _http from '@/utils/http'

export default {
    bannerList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/banner/list',
            apiName: 'banner列表',
        }, params, loading, headers)
    },
    bannerAdd(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/banner/add',
            apiName: 'banner新增',
        }, params, loading, headers)
    },
    bannerDelete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/banner/delete',
            apiName: 'banner删除',
        }, params, loading, headers)
    },
    bannerModify(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/banner/modify',
            apiName: 'banner修改',
        }, params, loading, headers)
    },
}
